package com.jingtai.shop.service.goods;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jingtai.core.entity.shop.MerchantsGoods;

/**
 * <p>
 * 商户商品表 服务类
 * </p>
 *
 * @author GR123
 * @since 2020-11-29
 */
public interface MerchantsGoodsService extends IService<MerchantsGoods> {

    /**
     * 首页 推荐商品(优选)
     */
    Page<MerchantsGoods> pageGoodsByRecommend(Long pageNo,Long pageSize);

    /**
     *首页-关键字搜索商品
     */
    Page<MerchantsGoods> searchMerchantsGoods(String keyword,Long pageNo,Long pageSize);

    /**
     * 三级分类id 查询商品列表
     */
    Page<MerchantsGoods> pageGoodsByLevel(Long threeId, Long pageNo,Long pageSize);


}
